const StorageStatus = require('./StorageStatus')
module.exports = class OSSResult {
	constructor(ret) {
		this.result = ret
		this._storageStatus = undefined
	}

	get headers() {
		this.result.res.headers
	}

	get storageStatus() {
		if (this._storageStatus) {
			return this._storageStatus
		}
		return this._storageStatus = new StorageStatus(this.result)
	}


}
